﻿using Factory.Customers.DTO;
using Factory.MasterData.Materials.Dto;
using Factory.MesEntity.CustomerDatas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Factory.Cutomers
{
    public interface ICustomerDataAppService:IApplicationService
    {

             Task<PageResult> GetCustomerDataList(string customerName, int pageIndex = 1, int pageSize = 10);
             int CreateAsync(CustomerData customer);
             Task<int> UpdateAsync(CustomerDataUpdateDto input);

            Task<int> DeleteAsync(int id);

            CustomerData GetCustomerById(int id);

    }
}
